package com.learn.postprocessor.postprocessor;

import com.learn.postprocessor.entity.PostProcessorTestEntity;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 *
 * @author daify
 * @date 2019-03-26 17:52
 **/
public class PostProcessorTest {

    public static void main(String[] args) {
        ApplicationContext context = new ClassPathXmlApplicationContext("postprocessor/spring.xml");

        PostProcessorTestEntity test = (PostProcessorTestEntity) context.getBean("postProcessorTest");
        System.out.println("name:" + test.getName() + "-- id:" + test.getId());
    }
}
